package com.woniuxy.enjoylife.entity.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class ReturnGoodsDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    //发布者id
    private Integer uid;

    //商品类型
    private Integer type;
    //商品名称
    private String name;
    //商品图片
    private String image;
    //商品价格
    private BigDecimal price;
    //商品介绍
    private String content;
    //商家联系方式
    private String phone;
    //浏览次数
    private Integer times;
    //是否删除  0：上架   1：已删除    2：已出售
    private Integer status;

    //是否浏览过
    private Boolean isViewed;


    //是否是自己发布的
    private boolean isOwn;
    //发布者姓名
    private String account;


    //点赞
    private int agreeNum;
    private boolean isAgree;

    //评论dto
    List<ReturnGoodsCommentReplyDto> commentReplyDtoList;

}
